package com.yx.modules.api.service.impl;

import com.yx.modules.api.dao.TbClickDao;
import com.yx.modules.api.entity.TbClick;
import com.yx.modules.api.service.TbClickService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class TbClickServiceImpl implements TbClickService {
	@Autowired
	private TbClickDao clickDao;
	
	@Override
	public TbClick queryObject(Integer id){
		return clickDao.queryObject(id);
	}
	
	@Override
	public List<TbClick> queryList(Map<String, Object> map){
		return clickDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return clickDao.queryTotal(map);
	}
	
	@Override
	public void save(TbClick click){
		clickDao.save(click);
	}
	
	@Override
	public void update(TbClick click){
		clickDao.update(click);
	}
	
	@Override
	public void delete(Integer id){
		clickDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		clickDao.deleteBatch(ids);
	}
	
}
